﻿<dw:DialogWindow x:Class="ErikEJ.SqlCeToolbox.Dialogs.SQLiteConnectionDialog"
	xmlns:dw="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.10.0"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="clr-namespace:Xceed.Wpf.Toolkit.PropertyGrid;assembly=Xceed.Wpf.Toolkit" 
        xmlns:extToolkit2="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit" 
        Title="Add SQLite Connection" Height="588" Width="337" Loaded="Window_Loaded">
    <DockPanel VerticalAlignment="Stretch" >
        <Button DockPanel.Dock="Top" x:Name="browse" Click="browse_Click">Browse...</Button>
        <Button DockPanel.Dock="Top" x:Name="create" Click="create_Click"  >Create...</Button>
        <Button DockPanel.Dock="Top" x:Name="btn" Click="btn_Click">Test  Connection</Button>
        <extToolkit2:WatermarkTextBox x:Name="txtDataSource" Watermark="Database file path" DockPanel.Dock="Top" ></extToolkit2:WatermarkTextBox>
        <Button DockPanel.Dock="Bottom" x:Name="close" Click="close_Click">Close</Button>
        <extToolkit:PropertyGrid Name="Props"  DockPanel.Dock="Top" VerticalAlignment="Stretch" IsEnabled="True" TabIndex="0" DataContext="{Binding}"></extToolkit:PropertyGrid>
    </DockPanel>
</dw:DialogWindow>
